<template>
    <ui-main title="上传组件 - api方式">
        <div class="item one">
            <div style="max-height:400px">
                <a class="ui button secondary" @click="popup">弹一个</a>
                <hr>
                <router-link to="/bui_Components_uploader">点击查看 : 组件方式使用说明</router-link>
            </div>
        </div>
        <div class="item four">
            <ui-load-md file="./ui-uploader.md"></ui-load-md>
        </div>
    </ui-main>
</template>
<script>
    export default {
        name:'',
        data() {
            return {
                status:null
            }
        },
        methods:{
            popup() {
                this.$bui.uploader({
                    title:'飘窗上传',
                    accept:'png',
                })
            }
        }
    }
</script>
